package com.itheima.mapper;

import com.itheima.po.QueryVo;
import com.itheima.po.User;

import java.util.List;

public interface UserMapper {
    User findUserById(int id);
    List<User> findUserByName(String username);
    void insertUser(User user);
    void updateUserById(User user);
    void deleteUserById(int id);
    List<User> queryUserByCondition(QueryVo queryVo);
    int countUsers();
}


